﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using DoAnASP;

public partial class Default3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["IDThuongHieu"] != null)
        {
            LoadSP_Theo_ThuongHieu(int.Parse(Request.QueryString["IDThuongHieu"]));
        }
        else
        { }
    }


    // /// 
    public void LoadSP_Theo_ThuongHieu(int id)
    {
        BUS_SanPham THSP = new BUS_SanPham();
        DataTable dt = new DataTable();
        dt=THSP.TiemKiemthuonghieu(id);
        dtlSanPham.DataSource = dt.DefaultView;
        dtlSanPham.DataBind();
    }
}